package com.ifood.common.core.domain.entity;

import com.ifood.common.annotation.Excel;
import com.ifood.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 门店信息对象 i_food_store_info
 *
 * @author ifood
 * @date 2024-01-09
 */
public class IFoodStoreInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty("${comment}")
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    /**
     * 门店名称
     */
    @Excel(name = "门店名称")
    @ApiModelProperty("门店名称")
    private String storeName;

    /**
     * 营业执照编号
     */
    @Excel(name = "营业执照编号")
    @ApiModelProperty("营业执照编号")
    private String businessLicenseNum;

    /**
     * 营业执照照片
     */
    @Excel(name = "营业执照照片")
    @ApiModelProperty("营业执照照片")
    private String businessLicensePic;

    /**
     * 授权书
     */
    @Excel(name = "授权书")
    @ApiModelProperty("授权书")
    private String letterAPic;

    /**
     * 纳税人识别号
     */
    @Excel(name = "纳税人识别号")
    @ApiModelProperty("纳税人识别号")
    private String taxpayerNum;

    /**
     * 收货地址
     */
    @Excel(name = "收货地址")
    @ApiModelProperty("收货地址")
    private String receiveAddress;

    /**
     * 省份
     */
    @Excel(name = "省份")
    @ApiModelProperty("省份")
    private String provinceName;

    /**
     * 市
     */
    @Excel(name = "市")
    @ApiModelProperty("市")
    private String cityName;

    /**
     * 区
     */
    @Excel(name = "区")
    @ApiModelProperty("区")
    private String areaName;

    /**
     * 经度
     */
    @Excel(name = "经度")
    @ApiModelProperty("经度")
    private String longitude;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    @ApiModelProperty("纬度")
    private String latitude;

    /**
     * 公司手机号
     */
    @Excel(name = "公司手机号")
    @ApiModelProperty("公司手机号")
    private String companyMobile;

    /**
     * 简介
     */
    @Excel(name = "简介")
    @ApiModelProperty("简介")
    private String intro;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @ApiModelProperty("简介")
    private String delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setBusinessLicenseNum(String businessLicenseNum) {
        this.businessLicenseNum = businessLicenseNum;
    }

    public String getBusinessLicenseNum() {
        return businessLicenseNum;
    }

    public void setBusinessLicensePic(String businessLicensePic) {
        this.businessLicensePic = businessLicensePic;
    }

    public String getBusinessLicensePic() {
        return businessLicensePic;
    }

    public void setLetterAPic(String letterAPic) {
        this.letterAPic = letterAPic;
    }

    public String getLetterAPic() {
        return letterAPic;
    }

    public void setTaxpayerNum(String taxpayerNum) {
        this.taxpayerNum = taxpayerNum;
    }

    public String getTaxpayerNum() {
        return taxpayerNum;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setCompanyMobile(String companyMobile) {
        this.companyMobile = companyMobile;
    }

    public String getCompanyMobile() {
        return companyMobile;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getIntro() {
        return intro;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("storeName", getStoreName())
                .append("businessLicenseNum", getBusinessLicenseNum())
                .append("businessLicensePic", getBusinessLicensePic())
                .append("letterAPic", getLetterAPic())
                .append("taxpayerNum", getTaxpayerNum())
                .append("receiveAddress", getReceiveAddress())
                .append("provinceName", getProvinceName())
                .append("cityName", getCityName())
                .append("areaName", getAreaName())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("companyMobile", getCompanyMobile())
                .append("intro", getIntro())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
